package com.nsoft.remoteserver.utils;

import java.net.URL;

import javax.swing.ImageIcon;

public class Utils {
	public static ImageIcon createImageIcon(String resName){
		URL imgURL=Utils.class.getResource(
				"resources/"+resName+".png");
		return imgURL != null?
				new ImageIcon(imgURL,Constant.EMPTY):null;
	}

}
